<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, shrink-to-fit=no">
<title>viewport 测试2</title>
</head>
<body>
有 viewport
<section></section>
<button onclick="vp980()">980</button>
<script>
var arr = [];
arr.push("innerWidth: "+ window.innerWidth);
arr.push("documentElement.clientWidth:"+ document.documentElement.clientWidth);
arr.push("body.clientWidth:"+ document.body.clientWidth);
arr.push("screen.availWidth"+ window.screen.availWidth);
document.querySelector("section").innerHTML = arr.join("<br />");
function vp980() {
    document.documentElement.style.fontSize = parseInt(980 / 320 * 14, 10) + 'px';
}
</script>
<script type="text/javascript">
var __PI_COLLECT_CONF = {
    "type":"web"
    ,"app":"pi-test"
    ,"uri":"http://gateway.terran.wxpai.cn/s/pi-test/i.gif"
    ,"useCid":true
    ,"uuidKey":"account_id"
};
</script>
<script src="/getjob?pageview"></script>
<script type="text/javascript">
PI_COLLECT.pv({"path":"test/123"});
</script>
</body>
</html>
